﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="TransferAdd.aspx.cs" Inherits="Customer_Profile.eCard.Settle.TransferAdd" %>

<%@ Register assembly="DevExpress.Web.ASPxGridView.v9.3, Version=9.3.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxGridView" tagprefix="dx" %>
<%@ Register assembly="DevExpress.Web.ASPxEditors.v9.3, Version=9.3.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxEditors" tagprefix="dx" %>

<%@ Register src="../../mainTop.ascx" tagname="mainTop" tagprefix="uc1" %>

<%@ Register assembly="DevExpress.Web.v9.3, Version=9.3.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxUploadControl" tagprefix="dx" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
   <title>Customer List</title>
    <meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR" />
    <meta content="C#" name="CODE_LANGUAGE" />
    <meta content="JavaScript" name="vs_defaultClientScript" />
    <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema" />
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link href="/css/style.css" type="text/css" rel="stylesheet" />
    <script language="javascript" type="text/javascript" src="/js/common.js"></script>
    <script language="javascript" type="text/javascript" src="/js/CalPopUp.js"></script>
    <script language="javascript">
        function checkSubmit() {
            return confirm("are you sure?");
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <uc1:mainTop ID="mainTop1" runat="server" />
    <table border="1">
        <tr>
            <td>标题</td>
            <td>
                <asp:TextBox ID="txtTitle" class="input2" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>交易</td>
            <td>
                <dx:ASPxGridView ID="gridSettle" runat="server" KeyFieldName="settle_id"
                    CssFilePath="~/App_Themes/Office2003Blue/{0}/styles.css" 
                    CssPostfix="Office2003Blue">
                    <Images SpriteCssFilePath="~/App_Themes/Office2003Blue/{0}/sprite.css">
                        <LoadingPanelOnStatusBar Url="~/App_Themes/Office2003Blue/GridView/gvLoadingOnStatusBar.gif">
                        </LoadingPanelOnStatusBar>
                        <LoadingPanel Url="~/App_Themes/Office2003Blue/GridView/Loading.gif">
                        </LoadingPanel>
                    </Images>
                    <ImagesFilterControl>
                        <LoadingPanel Url="~/App_Themes/Office2003Blue/Editors/Loading.gif">
                        </LoadingPanel>
                    </ImagesFilterControl>
                    <Styles CssFilePath="~/App_Themes/Office2003Blue/{0}/styles.css" CssPostfix="Office2003Blue">
                        <Header ImageSpacing="5px" SortingImageSpacing="5px">
                        </Header>
                        <LoadingPanel ImageSpacing="10px">
                        </LoadingPanel>
                    </Styles>
                    <StylesEditors>
                        <ProgressBar Height="25px">
                        </ProgressBar>
                    </StylesEditors>
                    <Columns>
                        <dx:GridViewDataColumn FieldName="settle_id"  Visible="false"  Caption="key" />
                        <dx:GridViewDataColumn FieldName="deal_no" VisibleIndex="1"  Caption="交易号" />                        
                        <dx:GridViewDataColumn Caption="卡号" VisibleIndex="2">
                                        <DataItemTemplate>
                                            <a href='/eCard/CardDetail.aspx?cardno=<%#Eval("card_no") %>' target="_blank" ><%#Eval("card_no") %></a>
                                        </DataItemTemplate>
                                    </dx:GridViewDataColumn>
                        <dx:GridViewDataColumn FieldName="cparty_name" VisibleIndex="3" Caption="客户姓名" />
                        <dx:GridViewDataColumn FieldName="procduct_name" VisibleIndex="4" Caption="产品名称" />
                        <dx:GridViewDataColumn FieldName="due_date" VisibleIndex="5" Caption="到期日期" />
                        <dx:GridViewDataColumn FieldName="settle_amount" VisibleIndex="6" Caption="结算金额" />
                        <dx:GridViewDataColumn FieldName="settle_fee" VisibleIndex="7" Caption="结算费用" />
                        <dx:GridViewDataColumn FieldName="pay_amount" VisibleIndex="8" Caption="付款金额" />
                        <dx:GridViewDataColumn FieldName="remark" VisibleIndex="9" Caption="备注" />
                    </Columns>
                    <Settings ShowFooter="True" />
                    <SettingsPager PageSize="15"></SettingsPager>
                    <TotalSummary>
                         <dx:ASPxSummaryItem FieldName="settle_amount" SummaryType="Sum" DisplayFormat="c"/>
                         <dx:ASPxSummaryItem FieldName="settle_fee" SummaryType="Sum" DisplayFormat="c"/>
                         <dx:ASPxSummaryItem FieldName="pay_amount" SummaryType="Sum" DisplayFormat="c"/>
                    </TotalSummary>
                </dx:ASPxGridView>
            </td>
        </tr>
        <tr>
            <td>金额：</td>
            <td>
                <asp:TextBox ID="txtAmount" class="input2" runat="server"></asp:TextBox>
            </td>
        </tr>
       <tr>
            <td align="right">附件：</td>
            <td align="left">
                <asp:FileUpload ID="FileUpload1" runat="server" />
            </td>
        </tr>
        <tr>
            <td>备注：</td>
            <td>
                <asp:TextBox ID="txtRemark" class="input2" runat="server" width="80%"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>提示：</td>
            <td>
                <asp:Label ID="lblWarning" runat="server" ForeColor="Red"></asp:Label>
            </td>
        </tr>
        <tr>
            <td></td>
            <td>
                <asp:Button ID="btnTransfer" runat="server" Text="付款" OnClientClick="return checkSubmit();" onclick="btnTransfer_Click" />
            </td>
        </tr>
    </table>
    </div>
    </form>
</body>
</html>
